<div id="container">
<section id="content">
<script>
	function func_back(){
		$("#hidIsBack").val('1');
		$("#main_form").prop("action", "/it_center/MainInformations/index");
		return $("#main_form").submit();
	}
</script>
<form id="main_form" method="post" action="regist">
	<input type="hidden" id="hidIsBack" name="isBack" value=""/>
	<input type="hidden" id="hidTitle" name="title" value="<?php echo $title;?>"/>
	<input type="hidden" id="hidInfo" name="info" value="<?php echo $info;?>"/>
	<center>
		<H1>QUẢN LÍ THÔNG TIN HIỂN THỊ TẠI TRANG CHỦ</H1>
	</center>

	<table id="edit_table">
		<tr>
			<td class="edit_column" width="170" style="vertical-align: top;">Tiêu đề</td>
			<td>
				<textarea style="width: 99%;" rows="2" name="title" id="txtTitle" disabled><?php echo html_entity_decode($title, ENT_QUOTES, 'utf-8');?></textarea>
				<br/>
				<span id="titleErr" class="errMsg"></span>
			</td>
		</tr>
		<tr>
			<td class="edit_column" style="vertical-align: top;">Nội dung giới thiệu</td>
			<td>
				<textarea style="width: 99%;" rows="10" name="info" id="txtInfo" disabled><?php echo html_entity_decode($info, ENT_QUOTES, 'utf-8');?></textarea>
				<br/>
				<span id="infoErr" class="errMsg"></span>
			</td>
		</tr>
		<tr>
			<td colspan="2" style="text-align: center;">
				<button type="submit">Hoàn Tất</button>
				<button type="button" onclick="func_back()" style="margin-left: 10px;">Quay Lại</button>
			</td>
		</tr>
	</table>
</form>
</section>
</div>
